from scrapy.cmdline import execute

execute(['scrapy','crawl','news','-o','a.json','-L','WARNING'])
